package com.example.shiro.model;

import lombok.Data;

import java.util.Set;

/**
 * @description:
 * @author: guoc
 * @createDate: 2020/4/24 14:02
 */
@Data
public class User {

    private String id;
    private String userName;
    private String passWord;
    private String roles;
    //角色集合
    //private Set<Role> roles;


    public User(String id, String userName, String passWord, String roles) {
        this.id = id;
        this.userName = userName;
        this.passWord = passWord;
        this.roles = roles;
    }
}
